home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 15 / pcase.zip / INTRO2.TXT < prev    next >
Text File  |  1990-03-26  |  13KB  |  320 lines

  1.  
  2.  
  3.  
  4.  
  5.         3. Quick Tour
  6.  
  7.         A sample design file called acctg.dsn is provided with Personal
  8.         CASE. This illustrates a typical application of Personal CASE in
  9.         the design of an accounting software application.
  10.  
  11.         In this chapter:
  12.  
  13.         -    Start Personal CASE
  14.  
  15.         -    Load a Sample Design
  16.  
  17.         -    Manipulate Diagram Components
  18.  
  19.         -    Manipulate Data Flows
  20.  
  21.         -    Browse Diagram Pages
  22.  
  23.         -    Use the Data Dictionary
  24.  
  25.         -    Print and Save
  26.  
  27.         -    Quit Personal CASE
  28.  
  29.         Start Personal CASE
  30.  
  31.         From the MS-DOS executive, double-click on pcase.exe or use the
  32.         arrow keys to highlight pcase.exe and press enter. If the file
  33.         name is not displayed, open the directory or drive in which the
  34.         program was installed with the Change Directory command from the
  35.         Special menu.
  36.  
  37.         The program will display its startup screen and message (Figure
  38.         3-1). Click on the OK button.
  39.  
  40.         In addition to the standard window components, Personal CASE
  41.         displays the Toolbox Window (Figure 3-2). The Toolbox is used to
  42.         select drawing actions. There are four choices, each represented
  43.         by an Icon.
  44.  
  45.         Icon:               Meaning:
  46.  
  47.         (top left)          Draw and manipulate Components.
  48.  
  49.         (top right)         Add,delete and route Data Flows between
  50.                             Components.
  51.  
  52.         (bottom left)       Add and edit descriptive text.
  53.  
  54.         (bottom right)      Manipulate group of Components as a unit
  55.                             using the Windows clipboard.
  56.  
  57.         There are three ways to choose a drawing tool:
  58.  
  59.  
  60.                                                              Quick Tour 7
  61.  
  62.         -    Click on the toolÆs icon in the toolbox with the mouse.
  63.  
  64.         -    Use the keys ctrl + numpad plus or numpad minus to move the
  65.              highlight to a different icon. numpad plus and numpad minus
  66.              are the "+" and "-" keys located on the numeric keypad area.
  67.  
  68.         -    Choose the tool from the Toolbox menu.
  69.  
  70.         Load a Sample Design
  71.  
  72.         Choose the Open command from the File menu. A dialog box will
  73.         appear from which you choose the design file to be opened (Figure
  74.         3-3). If the sample design files are found in the current
  75.         directory, you will see the name acctg.dsn in the list box.
  76.  
  77.         If the samples are in a different directory, choose the proper
  78.         directory from the list box. Double-click on the directory name
  79.         to open it. Double-click on the "[..]" item to open the parent
  80.         directory. Double-click on the "[-A-]", "[-B-]", etc. items to
  81.         access a different disk unit. Click on the scroll bar to scroll
  82.         entries through the list box.
  83.  
  84.         Double-click on the design file acctg.dsn to open it or click on
  85.         the file name and then click on the OK button. The file will be
  86.         opened and its contents displayed in the programÆs main window.
  87.  
  88.         You may see the message:
  89.  
  90.              UNABLE TO open GLOBAL data dictionary .... try another file
  91.              name?
  92.  
  93.         where "..." is the file name of the Data Dictionary.
  94.  
  95.         This message tells you that the design files have been moved to a
  96.         different disk or directory, as is done when you copied them to
  97.         your hard disk. The program is attempting to locate the data
  98.         dictionary file in the new directory, prompting you for approval.
  99.  
  100.         Click on the Retry button and a list of Data Dictionary file
  101.         names will appear. Double-click on the name acctg.dct and the
  102.         design file will be displayed. Once you save the design in its
  103.         new directory, this message shouldnÆt reappear.
  104.  
  105.         Manipulate Diagram Components
  106.  
  107.         Diagram Components can be directly manipulated with the mouse.
  108.         They can be moved to new locations, re-sized or erased. New
  109.         diagram Components can be added in the same way. The Data Flows
  110.         connected to a Component are automatically re-drawn whenever a
  111.         Component is manipulated.
  112.  
  113.         Activate Component Mode
  114.  
  115.  
  116.                                                              Quick Tour 8
  117.  
  118.         Click on the Component Icon in the Toolbox Window, or highlight
  119.         it with the ctrl+numpad PLUS or ctrl+numpad minus keys.
  120.  
  121.         Move Component with the Mouse
  122.  
  123.         Click on a Component with the mouse, hold down the mouse button
  124.         and move the mouse to a new location. A dotted-line outline will
  125.         follow the mouse as it is moved. Release the mouse button, and
  126.         the Component will be placed at its new location. Note that
  127.         Components may not overlap on a page.
  128.  
  129.         Move Component with the Keyboard
  130.  
  131.         Move the mouse pointer onto the component with the arrow keys.
  132.         Press and hold down the space bar. Drag the component to its new
  133.         location with the arrow keys. Release the space bar at the new
  134.         location.
  135.  
  136.         Change Component Size with the Mouse
  137.  
  138.         Hold down the ctrl key, click on the Component and drag it as
  139.         above. The Component size will be increased in the direction that
  140.         you are moving the mouse. A Component is made smaller by holding
  141.         down both the shift and ctrl keys when clicking on the Component.
  142.  
  143.         Change Component Size with the Keyboard
  144.  
  145.         Move the mouse pointer onto the component with the arrow keys.
  146.         Press and hold down ctrl + space bar. Release the ctrl key. Drag
  147.         the component to its new larger size with the arrow keys. Release
  148.         the space bar at the new location. To make the component smaller,
  149.         hold down both ctrl and shift when pressing the space bar.
  150.  
  151.         Delete Component
  152.  
  153.         The Component which was last selected with the mouse is
  154.         highlighted on the screen. To delete it, press shift + delete.
  155.         Any Data Flows associated with the Component are deleted as well.
  156.  
  157.         Add Components
  158.  
  159.         Click on the Component Icon from the Toolbox Window until the
  160.         icon of the new Component is shown. Then click the mouse in a
  161.         vacant area of the page.
  162.  
  163.         The program will prompt for Data Dictionary information for each
  164.         new Component with the Dictionary Add dialog box. For now, click
  165.         on the Cancel button to defer dictionary information, or press
  166.         the esc key. Dictionary information may be added later on.
  167.  
  168.         Manipulate Data Flows
  169.  
  170.         Data Flows are manipulated via their endpoint Components.
  171.         Whenever a Component is moved or re-sized, its attached Data
  172.  
  173.  
  174.                                                              Quick Tour 9
  175.  
  176.         Flows are re-drawn. Whenever a Component is deleted, its attached
  177.         Data Flows are deleted.
  178.  
  179.         Select Data Flow Tool
  180.  
  181.         Click on the Data Flow icon from the Toolbox.
  182.  
  183.         Add Data Flow
  184.  
  185.         Click on the source and then destination Components. The Data
  186.         Flow will be automatically drawn between the Components. If the
  187.         two Components are already connected, a dialog box will ask
  188.         whether a new data flow is to be added, or an existing one
  189.         deleted. Click on the add button of the dialog box.
  190.  
  191.         The program will prompt for Data Dictionary information for the
  192.         new Data Flow. Again, defer the entry of Data Dictionary
  193.         information by choosing the Cancel button, or pressing esc.
  194.  
  195.         Delete Data Flow
  196.  
  197.         To delete an existing Data Flow, click on its source and then
  198.         destination Components. A dialog box will ask whether a new data
  199.         flow is to be added between the components, or an existing one is
  200.         to be deleted. In the dialog box list box, click on the name of
  201.         an existing data flow and then click the delete button.
  202.  
  203.         Browse Diagram Pages
  204.  
  205.         The sample design contains a number of pages. Choose one of the
  206.         commands from the Page menu to view the different pages. Or press
  207.         ctrl + page up or ctrl + page down to move between pages.
  208.  
  209.         Use the Data Dictionary
  210.  
  211.         Data Dictionary information can be added or changed for any
  212.         Component or Data Flow in the design. When a new Component or
  213.         Data Flow is added, the program will prompt for Data Dictionary
  214.         information (Figure 3-4). You can add it at that time, or defer
  215.         the task.
  216.  
  217.         Add Data Dictionary Information
  218.  
  219.         Each Component and Data Flow must be given a Class Label.
  220.         Optionally, an item may additionally be given an Instance Label,
  221.         which specifically identifies it as a particular member of a
  222.         class of items. This is analogous to "data types" and "variable
  223.         name" in a programming language.
  224.  
  225.         Type a label for your new item. If the label is already in the
  226.         Data Dictionary, the related Description and other information
  227.         will be displayed. If not, the Description must be typed at this
  228.         point. Click on the Add button to add the Dictionary information.
  229.  
  230.  
  231.                                                             Quick Tour 10
  232.  
  233.         The Data Dictionary information is now linked to the Component or
  234.         Data Flow. It will be shown in the diagram inside of a Component
  235.         and at the mid-point of a Data Flow.
  236.  
  237.         Update Data Dictionary Information
  238.  
  239.         To change the Data Dictionary information for a Component, select
  240.         the Component Tool and double-click on the Component. For a Data
  241.         Flow, select the Data Flow Tool, double-click on the Data FlowÆs
  242.         source Component and click on its destination, or double-click on
  243.         the Data Flow's descriptive label. The Dictionary Change dialog
  244.         box will pop up showing the requested Data Dictionary
  245.         information.
  246.  
  247.         The Class or Instance Label for the itemÆs Dictionary information
  248.         may be changed to associate the item with a new or different
  249.         entry from the Data Dictionary. The Description associated with a
  250.         given label may be changed only by using the Browse command from
  251.         the Dictionary menu.
  252.  
  253.         Move a Data Flow's Description
  254.  
  255.         By default, Data Dictionary information for a Data Flow is shown
  256.         at the arrow's midpoint. With the Component Tool, the descriptive
  257.         text from the Dictionary may be dragged to a different location.
  258.  
  259.         Browse the Data Dictionary
  260.  
  261.         Choose the Browse command from the Dictionary menu. A dialog box
  262.         (Figure 3-5) will allow you to browse through the entries in the
  263.         data dictionary.
  264.  
  265.         The large scroll bar at the right edge of the dialog box is
  266.         clicked to move one at a time through the dictionary in
  267.         alphabetical order. The dictionary label, description and entry
  268.         type are displayed.
  269.  
  270.         To call up a particular dictionary entry, type its label in the
  271.         Label edit control and press the tab key. The dictionary
  272.         information for that label will be displayed.
  273.  
  274.         To see a list of all available dictionary labels, click on the
  275.         "?" button and a list box containing all labels used in the
  276.         diagram will pop up. Select the desired label and click on the OK
  277.         button.
  278.  
  279.         The Description for a dictionary entry can be changed by tabbing
  280.         to the Description field and editing the displayed text.
  281.  
  282.         Finally, the expansion page for a process can be selected while
  283.         browsing. If a Process Component is selected, click on the
  284.         Details button, and the diagram page containing the details of
  285.         that process will be selected. The Details button moves you
  286.         deeper into the hierarchy.
  287.  
  288.  
  289.                                                             Quick Tour 11
  290.  
  291.         If an External or Parameter Component is selected, click on the
  292.         Owner button, and the owning page is shown. The Owner button
  293.         moves you upward towards the top of the hierarchy.
  294.  
  295.         Print and Save
  296.  
  297.         Choose the Diagram command from the Reports menu. A dialog box
  298.         will prompt you for the printer to be used. (Figure 3-6) A list
  299.         of printers that have been installed in Windows is shown. Double-
  300.         click on the name of the desired printer, and your diagram will
  301.         print.
  302.  
  303.         A number of textual reports can also be printed based upon
  304.         information from the data dictionary. To see these reports,
  305.         choose the Dictionary Contents, Process Hierarchy, Process Usage
  306.         or Data Flow Usage commands from the Reports menu.
  307.  
  308.         Finally, save your work. Choose the Save command (or press ctrl +
  309.         S) and your design will be saved with the same file name.
  310.  
  311.         Quit Personal CASE
  312.  
  313.         Choose the Exit command from the File menu. Or choose the Close
  314.         command from the System Menu. You will be returned to the MS-DOS
  315.         Executive.
  316.  
  317.         To stop Windows, choose the Exit command from the File menu or
  318.         the Close command from the System Menu.
  319.  
  320.